package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author: menghao
 * @version: 1.0
 * @Date: 2025/08/26 14:55
 * @Description:
 */
@Slf4j
@Component
public class AlertJob {

    @Autowired
    private IAlertRuleService alertRuleService;

    /**
     * 设备报警数据的数据过滤的定时任务
     */
    public void alertFilter() {
        log.error("设备报警数据数据过滤定时任务开始执行...");
        alertRuleService.alertFilter();
    }
}
